package net.xinqushi.common;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @author xjie 2020/1/10 15:18
 * @description Function
 */
public class Function {

    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("123");
        List<String> collect = list.stream().map(x -> x + "fu").collect(Collectors.toList());
        System.out.println(collect);
    }
}
